package space.sakana.edusysback.util;

import jakarta.servlet.http.Cookie;
import jakarta.servlet.http.HttpServletResponse;

public class LoginUtil {

    public static void setLoginToken(HttpServletResponse response, String token_str){
        Cookie token = CookieUtil.genCookie("token", token_str);
        response.addCookie(token);
    }

}
